///draw_hullhealth();
var xneg,xpos,bary,barsize;
xneg=(global.width/2)-(global.width/5)
xpos=(global.width/2)+(global.width/5)
barsize=12;
bary=global.height-200;
draw_set_color(c_orange);
draw_rectangle(xneg,bary+hudburn,xpos,bary+barsize+hudburn,1);
draw_set_color(make_color_rgb(249,0,0));
draw_rectangle(xneg+1,bary+hudburn+1,xpos-1,bary+(barsize/2)-1+hudburn,0);
draw_set_color(make_color_rgb(153,0,0));
draw_rectangle(xneg+1,bary+(barsize/2)+hudburn,xpos-1,bary+barsize-1+hudburn,0);


draw_set_color(c_green);
draw_rectangle(xneg,(bary*2)+hudburn,xpos,(bary*2)+barsize+hudburn,1);
draw_set_color(make_color_rgb(0,116,247));
draw_rectangle(xneg+1,(bary*2)+hudburn+1,xpos-1,(bary*2)+(barsize/2)-1+hudburn,0);
draw_set_color(make_color_rgb(0,71,151));
draw_rectangle(xneg+1,(bary*2)+(barsize/2)+hudburn,xpos-1,(bary*2)+barsize-1+hudburn,0);
